package cn.imvc.app.repositories;

import java.util.Date;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.Commission;
import cn.imvc.app.entities.Member;
import cn.imvc.data.jpa.repository.IJpqlExecutor;

public interface CommissionRepository  extends JpaRepository<Commission, Integer>,IJpqlExecutor<Commission>{

	List<Commission> findByMemberAndCreatedAtBetween(Member member, Date startTime,Date endTime);

}
